var apiApiUrl_http = "http://127.0.0.1";
var service_adminManage = "service-adminManage";//系统管理服务
var service_login = "service-login";//认证服务
var apiUrlConfig = {
        user: {
            login: apiApiUrl_http + "/" + service_login + "/login", //登录
            exitLogin: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUser/exitLogin", //退出登录
            loginLogList: apiApiUrl_http + "/" + service_adminManage + "/organization/sysLoginLog/getList", //登录日志列表
            getList: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUser/getList",// 用户列表
            update: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUser/update",// 修改
            save: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUser/save",// 保存
            updatePwd: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUser/updatePwd",// 修改密码
            getUserByUserId: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUser/getUserByUserId",// 查询用户信息
        },
        res: {
            List: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRes/getList", //资源列表
            Add: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRes/save",//添加资源
            Update: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRes/update",//修改资源
            DelById: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRes/delById/",//删除资源
            GetById: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRes/getById/",//获取资源详情
            DelBatch: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRes/delBatch",//批量删除
            ListDir: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRes/getListDir",//查询资源目录列表
        },
        nav: {
            List: apiApiUrl_http + "/" + service_adminManage + "/organization/sysNav/getList", //导航列表
            Add: apiApiUrl_http + "/" + service_adminManage + "/organization/sysNav/save",//添加导航
            Update: apiApiUrl_http + "/" + service_adminManage + "/organization/sysNav/update",//修改导航
            DelById: apiApiUrl_http + "/" + service_adminManage + "/organization/sysNav/delById/",//删除导航
            GetById: apiApiUrl_http + "/" + service_adminManage + "/organization/sysNav/getById/",//获取导航详情
            DelBatch: apiApiUrl_http + "/" + service_adminManage + "/organization/sysNav/delBatch",//批量删除
            getListUserNav: apiApiUrl_http + "/" + service_adminManage + "/organization/sysNav/getListUserNav",//查询用户导航列表
            saveOrder: apiApiUrl_http + "/" + service_adminManage + "/organization/sysNav/saveOrder",//导航排序
        },
        roleNav: {
            queryByRoleId: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRoleNav/queryByRoleId/", //根据角色id查询导航
            save: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRoleNav/save/", //保存角色对应的导航
        },
        role: {
            List: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRole/getList", //资源列表
            Add: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRole/save",//添加资源
            Update: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRole/update",//修改资源
            DelById: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRole/delById/",//删除资源
            GetById: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRole/getById/",//获取资源详情
            DelBatch: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRole/delBatch",//批量删除
            ListDir: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRole/getListDir",//查询资源目录列表
            getByMidSysRoleList: apiApiUrl_http + "/" + service_adminManage + "/organization/sysRole/getByMidSysRoleList/"//根据映射id查询角色列表
        },
        roleRes: {
            queryByResId: apiApiUrl_http + "/" + service_adminManage + "/organization/sysResRole/queryByResId/",//根据资源id查询角色绑定资源
            queryByRoleId: apiApiUrl_http + "/" + service_adminManage + "/organization/sysResRole/queryByRoleId/",//根据角色id查询角色绑定资源
            savePowerByResId: apiApiUrl_http + "/" + service_adminManage + "/organization/sysResRole/savePowerByResId/",//资源授权(资源)
            savePowerByRoleId: apiApiUrl_http + "/" + service_adminManage + "/organization/sysResRole/savePowerByRoleId/",//资源授权(角色)
        },
        company: {
            getList: apiApiUrl_http + "/" + service_adminManage + "/organization/sysCompany/getList",//公司列表分页
            getListAll: apiApiUrl_http + "/" + service_adminManage + "/organization/sysCompany/getListAll",//公司列表所有
        },
        department: {
            getListByPid: apiApiUrl_http + "/" + service_adminManage + "/organization/sysDepartment/getListByPid",
            add: apiApiUrl_http + "/" + service_adminManage + "/organization/sysDepartment/add",
            update: apiApiUrl_http + "/" + service_adminManage + "/organization/sysDepartment/update",
            del: apiApiUrl_http + "/" + service_adminManage + "/organization/sysDepartment/del",
            getById: apiApiUrl_http + "/" + service_adminManage + "/organization/sysDepartment/getById/",
            saveOrder: apiApiUrl_http + "/" + service_adminManage + "/organization/sysDepartment/saveOrder",
        },
        userMapping: {
            getList: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUserMapping/getList",
            updateManageStatus: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUserMapping/updateManageStatus",
            updateDefStatus: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUserMapping/updateDefStatus",
            userAllocation: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUserMapping/userAllocation", //给部门分配人员
            delUser: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUserMapping/delUser", //从部门下删除人员
            savePowerRole: apiApiUrl_http + "/" + service_adminManage + "/organization/sysUserMapping/savePowerRole/", //给用户分配角色
        },
        sysConfig: {
            save: apiApiUrl_http + "/" + service_adminManage + "/sysConfig/save",//保存系统配置
            get: apiApiUrl_http + "/" + service_adminManage + "/sysConfig/get",//获取系统配置信息
            getJson: apiApiUrl_http + "/" + service_adminManage + "/sysConfig/getJson",//获取系统配置信息json
        },
        file: {
            uploadFile: apiApiUrl_http + "/" + service_adminManage + "/fileManage/sysFile/saveFile",//上传
            getFile: apiApiUrl_http + "/" + service_adminManage + "/fileManage/sysFile/getFile",//获取文件
            createCodee: apiApiUrl_http + "/" + service_adminManage + "/fileManage/sysFile/createCodee",//生产代码
            translate: apiApiUrl_http + "/" + service_adminManage + "/fileManage/sysFile/translate",//翻译
        },
        dicGroup: {
            getList: apiApiUrl_http + "/" + service_adminManage + "/dictManage/sys-dic-group/getList",//获取列表
            add: apiApiUrl_http + "/" + service_adminManage + "/dictManage/sys-dic-group/add",//添加
            update: apiApiUrl_http + "/" + service_adminManage + "/dictManage/sys-dic-group/update",//修改
            delete: apiApiUrl_http + "/" + service_adminManage + "/dictManage/sys-dic-group/delete"//删除
        },
        dicValue: {
            getList: apiApiUrl_http + "/" + service_adminManage + "/dictManage/sys-dic-value/getList",//获取列表
            add: apiApiUrl_http + "/" + service_adminManage + "/dictManage/sys-dic-value/add",//添加
            update: apiApiUrl_http + "/" + service_adminManage + "/dictManage/sys-dic-value/update",//修改
            delete: apiApiUrl_http + "/" + service_adminManage + "/dictManage/sys-dic-value/delete"//删除
        },
        //业务分组
        businessGroup: {
            getListAll: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-group/getListAll",//获取列表
            getList: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-group/getList",//获取列表
            add: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-group/add",//添加
            update: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-group/update",//修改
            delete: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-group/delete",//删除
            get: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-group/get/",//详情
            saveOrderIndex: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-group/saveOrderIndex"//排序
        },
        //业务模型
        businessModel: {
            getList: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus/getList",//获取列表
            add: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus/add",//添加
            update: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus/update",//修改
            delete: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus/delete",//删除
            get: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus/get/",//详情
        },
        //存储模型
        storageModel: {
            add: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-entity/add",//添加
            update : apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-entity/update",//修改
            delete : apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-entity/delete",//删除
            getListAll: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-entity/getListAll",//查询所有表
            field:{
                getListByEntity: apiApiUrl_http + "/" + service_adminManage + "/business/sys-bus-entity-field/getListByEntity_id",//获取字段列表
            }
        }
        ,
        captchaGet: apiApiUrl_http + "/" + service_login //验证码地址
    }
;
